package com.addplus.townmall.server.api.model.town.expand;

import com.addplus.townmall.server.api.model.town.ShopDiscountZone;
import com.addplus.townmall.server.api.model.town.ShopSpecificationSku;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author wlb
 * @version V1.0
 * @date 2018-11-03 下午10:31
 * @description 商城折扣专区扩展实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ShopDiscountZoneExpand extends ShopDiscountZone{

    /**
     * 所属店铺名称
     */
    @TableField("store_name")
    private String storeName;

    /**
     * 商品好评率
     */
    @TableField("good_rate")
    private Integer goodRate;

    /**
     * 商品总评论数
     */
    @TableField("total_comment")
    private Integer totalComment;

    /**
     * 商品虚拟销售数量
     */
    @TableField("sale_virtual_count")
    private Integer saleVirtualCount;

    /**
     * 商品评论数
     */
    @TableField("shop_comment_count")
    private Integer shopCommentcount;

    /**
     * 商品名称
     */
    @TableField("shop_name")
    private String shopName;

    /**
     * 商品标签
     */
    @TableField("shop_tag")
    private String shopTag;

    /**
     * 商品标签
     */
    @TableField("sku_describe")
    private String skuDescribe;
    /**
     * sku 销售价格
     */
    @TableField("sku_sale_price")
    private BigDecimal skuSalePrice;
    /**
     * sku 划线价格
     */
    @TableField("sku_line_price")
    private BigDecimal skuLinePrice;

    private List<ShopSpecificationSku> shopSkuList;
}
